<%- include ./res/header.ejs %>
    <% if(user) {%>
    <div class="container" >
        <form class="form-horizontal" method="post">
            <legend>活动添加</legend>
            <div class="control-group">
                <label class="control-label" for="name">活动名字：</label>
                <div class="controls">
                    <input type="text" id="name" name="name">
                </div>
            </div>
            <div class="control-group">
                <label class="control-label" for="other">描述：</label>
                <div class="controls">
                    <textarea rows="5" id="other" name="other"></textarea>
                </div>
            </div>

            <div class="form-actions">
                <button type="submit" class="btn btn-primary">添加</button>
            </div>
        </form>
    </div>
    <% } %>
<%- include ./res/footer.ejs %>